<?php
class renderer_field extends renderer_base
{
  
    
    
   	public function render($fObject, $renderMode = 'view', $config = array())
	{
		$this->lead->viewer->fObject = $fObject;
		$this->lead->viewer->config = $config;
		$this->lead->viewer->fRenderer = $this;
		
		$path = "{$this->path}/{$this->folderName}/{$renderMode}.tpl";
		
		
		return $this->lead->viewer->fetch($path);
		
		
	}

}